/**
* All Rights Reserved , Copyright (C) 2021 , 青岛鼎信通讯股份有限公司
*
* ISdProjectHistoryService
* SD项目立项-历史表
*
* 修改纪录
* 2021-12-06 版本：1.0 wangxinhua 创建。
* @version 版本：1.0
* @author 作者：wangxinhua
* 创建日期：2021-12-06
*/

package com.topscomm.gpm.service;

import com.topscomm.gpm.IGpmService;
import com.topscomm.gpm.pojo.GpmProjectHistoryEntity;
import com.topscomm.gpm.dao.IGpmProjectHistoryDao;

import java.util.Map;

public interface IGpmProjectHistoryService extends IGpmService<GpmProjectHistoryEntity, IGpmProjectHistoryDao> {
    /***
     * @description: 新增和保存函数
     * @param inputMap
     * @return
     * @author: wxh
     * @date: 2021/11/24 15:33
     * @modify:
     */
    Map<String, Object> doSave(Map<String, Object> inputMap);
    /***
     * @description: 保存basechange
     * @param inputMap
     * @return
     * @author: wxh
     * @date: 2021/11/24 15:33
     * @modify:
     */
    Map<String, Object> getBaseChangeEntity(Map<String, Object> inputMap) throws Exception;

    /***
     * @description: 立项提交申请审批
     * @param paraMap
     * @return
     * @author: wxh
     * @date: 2021/11/30 8:56
     * @modify:
     */
    void doProjectChangeApproval(Map<String, Object> paraMap);

    /**
     * @description: 审批结束更新
     * @param projectcode
     * @param sdProjectChangeEntity
     * @return void
     * @author: wangxinhua
     * @date: 2021/12/14 11:24
     * @modify:
     */
    void projectChangeUpdate(String projectcode, GpmProjectHistoryEntity sdProjectChangeEntity) throws Exception;

    /**
     * @description: 林总审批更新levelhistory
     * @param paraMap
     * @return void
     * @author: wangxinhua
     * @date: 2021/12/14 18:57
     * @modify:
     */
    void updateLevelHistory(Map<String, Object> paraMap);
}
